import axios from "../utils/axios";

// 登录接口
export const toLogin = (data) => axios.post('/user/login', data);
// 查询登录状态接口
export const validate = () => axios.get('/user/validate');